import {UserOutlined,SolutionOutlined} from "@ant-design/icons"

export const routeList=[
    {
        path:"/main/home",
        name:"首页",
        premission:0,  //权限
        icon:<UserOutlined/> 
    },
    {
        path:"/main/totle",
        name:"患者病例统计",
        premission:0,  //权限
        icon:<SolutionOutlined />
    },
    {
        path:"/main/nurse",
        name:"护士管理系统",
        premission:1,  //权限
        icon:<UserOutlined/>,
        children:[
            {
                path:"/main/nurse/add",
                name:"增加新用户信息",
                premission:1,  //权限
                icon:<UserOutlined/> 
            },
            {
                path:"/main/nurse/has",
                name:"已存用户信息",
                premission:1,  //权限
                icon:<UserOutlined/> 
            },
            {
                path:"/main/nurse/info",
                name:"请假",
                premission:1,  //权限
                icon:<UserOutlined/> 
            }
        ]
    },
    {
        path:"/main/doctor",
        name:"医生人员信息",
        premission:1,  //权限
        icon:<UserOutlined/> ,
        children:[
            {
                path:"/main/doctor/add",
                name:"增加医生信息",
                premission:1,  //权限
                icon:<UserOutlined/> ,
            },
            {
                path:"/main/doctor/edit",
                name:"编辑医生信息",
                premission:1,  //权限
                icon:<UserOutlined/> ,
            }
        ]
    },
    {
        path:"/main/admin",
        name:"账号管理",
        premission:1,  //权限
        icon:<UserOutlined/> ,
    },
    {
        path:"/main/payment",
        name:"前台收银",
        premission:0,  //权限
        icon:<UserOutlined/> ,
        children:[
            {
                path:"/main/payment/guahao",
                name:"挂号",
                premission:0,  //权限
                icon:<UserOutlined/> ,
            },
            {
                path:"/main/payment/guahaoinfo",
                name:"管理挂号信息",
                premission:2,  //权限
                icon:<UserOutlined/> ,
            },
            {
                path:"/main/payment/money",
                name:"缴费管理",
                premission:2,  //权限
                icon:<UserOutlined/> ,
            },
        ]
    },
    {
        path:"/main/hospital",
        name:"医院基本信息",
        premission:0,  //权限
        icon:<UserOutlined/> ,
        children:[
            {
                path:"/main/hospital/introduce",
                name:"医院护士概括",
                premission:0,  //权限
                icon:<UserOutlined/> ,
            },
            {
                path:"/main/hospital/people",
                name:"就诊患者",
                premission:0,  //权限
                icon:<UserOutlined/> ,
            },
            {
                path:"/main/hospital/talk",
                name:"患者反馈",
                premission:0,  //权限
                icon:<UserOutlined/> ,
            },
        ]
    },
    
]